This repository was archived by the owner on Mar 26, 2024. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork2
UDBase.Controllers.UserSystem
KonH edited this pageFeb 23, 2018 ·1 revision
IUser is a simple storage for user information. If you need to store additinal ids, assigned to current user, you can get it on your side and add using AddExternalId(), after it you can get it using FindExternalId()
publicinterfaceUDBase.Controllers.UserSystem.IUser
Properties
| Type | Name | Summary |
|---|---|---|
String | Id | Unique id of user (if required) |
String | Name | User name to display |
Methods
| Type | Name | Summary |
|---|---|---|
void | AddExternalId(String provider,String id) | Adds the external identifier for given provider |
String | FindExternalId(String provider) | Finds the external identifier for given provider |
User controller with saving information using ISave
publicclassUDBase.Controllers.UserSystem.SaveUser:IUser
Properties
| Type | Name | Summary |
|---|---|---|
String | Id | |
String | Name |
Methods
| Type | Name | Summary |
|---|---|---|
void | AddExternalId(String provider,String id) | |
String | FindExternalId(String provider) |
Event, which fired when user extenal id was changed
publicstructUDBase.Controllers.UserSystem.User_ExternalIdChange
Properties
| Type | Name | Summary |
|---|---|---|
String | Provider | New provider (or provider with changed id) |
String | Value | New id |
Event, which fired when user name was changed
publicstructUDBase.Controllers.UserSystem.User_NameChange
Properties
| Type | Name | Summary |
|---|---|---|
String | Name | New user name |
Save node for user information
publicclassUDBase.Controllers.UserSystem.UserSaveNode:ISaveSource
Properties
| Type | Name | Summary |
|---|---|---|
Dictionary<String, String> | ExternalIds | |
String | Id | |
String | Name |