Class UserExtensions
Inherited Members
Namespace: LemonEdge.API.Core.Context
Assembly: LemonEdge.API.dll
Syntax
public static class UserExtensions
Methods
ToUserInfo(IUser)
Creates a safe light UserInfo from the given system user record
Declaration
public static UserInfo ToUserInfo(this IUser user)
Parameters
| Type | Name | Description |
|---|---|---|
| IUser | user | A system user record containing everything about a given user |
Returns
| Type | Description |
|---|---|
| UserInfo | A safe UserInfo holding all relevant information for a user |