Method | Description | |
---|---|---|
IsAdmin ( this customer, bool onlyActiveCustomerRoles = true ) : bool |
Gets a value indicating whether the customer is a built-in record for background tasks Gets a value indicating whether customer is administrator
|
|
IsAgent ( this customer, bool onlyActiveCustomerRoles = true ) : bool | ||
IsForumModerator ( this customer, bool onlyActiveCustomerRoles = true ) : bool |
Gets a value indicating whether customer is a forum moderator
|
|
IsGuest ( this customer, bool onlyActiveCustomerRoles = true ) : bool |
Gets a value indicating whether customer is guest
|
|
IsInCustomerRole ( this customer, string customerRoleSystemName, bool onlyActiveCustomerRoles = true ) : bool |
Gets a value indicating whether customer is in a certain customer role
|
|
IsPasswordRecoveryTokenValid ( this customer, string token ) : bool | ||
IsRegistered ( this customer, bool onlyActiveCustomerRoles = true ) : bool |
Gets a value indicating whether customer is registered
|
|
IsSearchEngineAccount ( this customer ) : bool |
Gets a value indicating whether customer a search engine
|
|
RemoveAddress ( this customer, Address address ) : void |
public static IsAdmin ( this customer, bool onlyActiveCustomerRoles = true ) : bool | ||
customer | this | Customer |
onlyActiveCustomerRoles | bool | A value indicating whether we should look only in active customer roles |
return | bool |
public static IsAgent ( this customer, bool onlyActiveCustomerRoles = true ) : bool | ||
customer | this | |
onlyActiveCustomerRoles | bool | |
return | bool |
public static IsForumModerator ( this customer, bool onlyActiveCustomerRoles = true ) : bool | ||
customer | this | Customer |
onlyActiveCustomerRoles | bool | A value indicating whether we should look only in active customer roles |
return | bool |
public static IsGuest ( this customer, bool onlyActiveCustomerRoles = true ) : bool | ||
customer | this | Customer |
onlyActiveCustomerRoles | bool | A value indicating whether we should look only in active customer roles |
return | bool |
public static IsInCustomerRole ( this customer, string customerRoleSystemName, bool onlyActiveCustomerRoles = true ) : bool | ||
customer | this | Customer |
customerRoleSystemName | string | Customer role system name |
onlyActiveCustomerRoles | bool | A value indicating whether we should look only in active customer roles |
return | bool |
public static IsPasswordRecoveryTokenValid ( this customer, string token ) : bool | ||
customer | this | |
token | string | |
return | bool |
public static IsRegistered ( this customer, bool onlyActiveCustomerRoles = true ) : bool | ||
customer | this | Customer |
onlyActiveCustomerRoles | bool | A value indicating whether we should look only in active customer roles |
return | bool |
public static IsSearchEngineAccount ( this customer ) : bool | ||
customer | this | Customer |
return | bool |
public static RemoveAddress ( this customer, Address address ) : void | ||
customer | this | |
address | Address | |
return | void |