UserService.GetByGuid Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
GetByGuid(Guid, bool, bool)
Gets the User with the specified guid.
public static User GetByGuid(Guid guid, bool sudo = false, bool trashed = false)
Parameters
- guid
- System.Guid
The guid of the user.
- sudo
- bool
true
to perform action as super user, otherwise false
.
- trashed
- bool
true
to return user even if trashed, otherwise false
.