Show / Hide Table of Contents

Class UserTypeHelper

Inheritance
object
UserTypeHelper
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.License
Assembly: SoCore.dll
Syntax
public static class UserTypeHelper

Methods

GetAssociateType(UserType)

Convert from SuperOffice.License.UserType to SuperOffice.License.UserType.

Declaration
public static AssociateType GetAssociateType(this UserType allowedType)
Parameters
Type Name Description
UserType allowedType

Allowed associate type to convert from.

Returns
Type Description
AssociateType

Associate type to convert to.

GetLoginRightModuleName(UserType)

Get the full name (including module owner) of the login right module license from user type.

Declaration
public static string GetLoginRightModuleName(this UserType user)
Parameters
Type Name Description
UserType user

User type to get name of module owner.

Returns
Type Description
string

Full name (including module owner) of the login right module license from user type.

GetRoleType(AssociateType)

Convert from SuperOffice.License.UserType to RoleType (short)

Declaration
public static short GetRoleType(this AssociateType associateType)
Parameters
Type Name Description
AssociateType associateType

Associate type to convert from

Returns
Type Description
short

Role type to convert to.

GetRoleType(UserType)

Convert from SuperOffice.License.UserType to RoleType (short)

Declaration
public static short GetRoleType(this UserType userType)
Parameters
Type Name Description
UserType userType
Returns
Type Description
short

Role type to convert to.

GetUserType(AssociateType)

Convert from SuperOffice.License.UserType to SuperOffice.License.UserType

Declaration
public static UserType GetUserType(this AssociateType associateType)
Parameters
Type Name Description
AssociateType associateType

Associate type to convert from

Returns
Type Description
UserType

Allowed license type to convert to.

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top