Class UserExtensions
A set of extensions for help with UserInfo
Inheritance
System.Object
UserExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: LemonEdge.API.Core
Assembly: API.dll
Syntax
public static class UserExtensions
Methods
FromUser(IUser)
Creates a safe light userinfo from the given system user record
Declaration
public static UserInfo FromUser(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 |