Méthode | Description | |
---|---|---|
AddUser ( string username, string displayName, string password, string email, bool active, System.DateTime dateTime ) : UserInfo |
Adds a new User.
|
|
AddUserGroup ( string name, string description ) : UserGroup |
Adds a new user group.
|
|
GetUser ( string username ) : UserInfo |
Gets a user account.
|
|
GetUserByEmail ( string email ) : UserInfo |
Gets a user account.
|
|
GetUserGroups ( ) : UserGroup[] |
Gets all the user groups.
|
|
GetUsers ( ) : UserInfo[] |
Gets the complete list of Users.
|
|
GetUsersWithData ( string key ) : string>.IDictionary |
Gets all the users that have the specified element in their data.
|
|
ModifyUser ( UserInfo user, string newDisplayName, string newPassword, string newEmail, bool newActive ) : UserInfo |
Modifies a User.
|
|
ModifyUserGroup ( UserGroup group, string description ) : UserGroup |
Modifies a user group.
|
|
NotifyCookieLogin ( UserInfo user ) : void |
Notifies the provider that a user has logged in through the authentication cookie.
|
|
NotifyLogout ( UserInfo user ) : void |
Notifies the provider that a user has logged out.
|
|
RemoveUser ( UserInfo user ) : bool |
Removes a User.
|
|
RemoveUserGroup ( UserGroup group ) : bool |
Removes a user group.
|
|
RetrieveAllUserData ( UserInfo user ) : string>.IDictionary |
Retrieves all the user data elements for a user.
|
|
RetrieveUserData ( UserInfo user, string key ) : string |
Gets a user data element, if any.
|
|
SetUserMembership ( UserInfo user, string groups ) : UserInfo |
Sets the group memberships of a user account.
|
|
StoreUserData ( UserInfo user, string key, string value ) : bool |
Stores a user data element, overwriting the previous one if present.
|
|
TestAccount ( UserInfo user, string password ) : bool |
Tests a Password for a User account.
|
|
TryAutoLogin ( System context ) : UserInfo |
Tries to login a user directly through the provider using the current HttpContext and without username/password.
|
|
TryManualLogin ( string username, string password ) : UserInfo |
Tries to login a user directly through the provider.
|
Méthode | Description | |
---|---|---|
GetUserGroupUsers ( |
Gets the users of a group.
|
|
GetUserGroupUsers ( |
Gets the users of a group.
|
|
GetUserGroups ( |
Gets the user groups of a user.
|
|
GetUserGroups ( |
Gets the user groups of a user.
|
|
RemoveUserData ( |
Removes a user data element.
|
|
RemoveUserGroupMembership ( |
Removes the user group membership for a user.
|
|
UserExists ( |
Verifies that a user exists.
|
|
UserExists ( |
Verifies that a user exists.
|
public AddUser ( string username, string displayName, string password, string email, bool active, System.DateTime dateTime ) : UserInfo | ||
username | string | The Username. |
displayName | string | The display name (can be |
password | string | The Password. |
string | The Email address. | |
active | bool | A value indicating whether the account is active. |
dateTime | System.DateTime | The Account creation Date/Time. |
Résultat | UserInfo |
public AddUserGroup ( string name, string description ) : UserGroup | ||
name | string | The name of the group. |
description | string | The description of the group. |
Résultat | UserGroup |
public GetUser ( string username ) : UserInfo | ||
username | string | The username. |
Résultat | UserInfo |
public GetUserByEmail ( string email ) : UserInfo | ||
string | The email address. | |
Résultat | UserInfo |
public GetUsersWithData ( string key ) : string>.IDictionary |
||
key | string | The key of the data. |
Résultat | string>.IDictionary |
public ModifyUser ( UserInfo user, string newDisplayName, string newPassword, string newEmail, bool newActive ) : UserInfo | ||
user | UserInfo | The Username of the user to modify. |
newDisplayName | string | The new display name (can be |
newPassword | string | The new Password ( |
newEmail | string | The new Email address. |
newActive | bool | A value indicating whether the account is active. |
Résultat | UserInfo |
public ModifyUserGroup ( UserGroup group, string description ) : UserGroup | ||
group | UserGroup | The group to modify. |
description | string | The new description of the group. |
Résultat | UserGroup |
public NotifyCookieLogin ( UserInfo user ) : void | ||
user | UserInfo | The user who has logged in. |
Résultat | void |
public NotifyLogout ( UserInfo user ) : void | ||
user | UserInfo | The user who has logged out. |
Résultat | void |
public RemoveUser ( UserInfo user ) : bool | ||
user | UserInfo | The User to remove. |
Résultat | bool |
public RemoveUserGroup ( UserGroup group ) : bool | ||
group | UserGroup | The group to remove. |
Résultat | bool |
public RetrieveAllUserData ( UserInfo user ) : string>.IDictionary |
||
user | UserInfo | The user. |
Résultat | string>.IDictionary |
public RetrieveUserData ( UserInfo user, string key ) : string | ||
user | UserInfo | The user the data belongs to. |
key | string | The key of the data element. |
Résultat | string |
public SetUserMembership ( UserInfo user, string groups ) : UserInfo | ||
user | UserInfo | The user account. |
groups | string | The groups the user account is member of. |
Résultat | UserInfo |
public StoreUserData ( UserInfo user, string key, string value ) : bool | ||
user | UserInfo | The user the data belongs to. |
key | string | The key of the data element (case insensitive). |
value | string | The value of the data element, |
Résultat | bool |
public TestAccount ( UserInfo user, string password ) : bool | ||
user | UserInfo | The User account. |
password | string | The Password to test. |
Résultat | bool |
public TryAutoLogin ( System context ) : UserInfo | ||
context | System | The current HttpContext. |
Résultat | UserInfo |
public TryManualLogin ( string username, string password ) : UserInfo | ||
username | string | The username. |
password | string | The password. |
Résultat | UserInfo |