Class SoPrincipalExtensions
Namespace: SuperOffice.Security.Principal
Assembly: SoCore.dll
Syntax
public static class SoPrincipalExtensions : Object
Methods
IsValid(SoPrincipal)
Check if the principal has an instance and is of a different type than SuperOffice.License.UserType.AnonymousAssociate.
Declaration
public static bool IsValid(this SoPrincipal principal)
Parameters
| Type | Name | Description |
|---|---|---|
| SoPrincipal | principal | Principal to verify. Null-value is permitted and will result in false. |
Returns
| Type | Description |
|---|---|
| Boolean | True if the principal has an instance and is of a different type than SuperOffice.License.UserType.AnonymousAssociate. |