This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public sealed class SecurityProfile |
Visual Basic (Declaration) | Copy Code |
---|---|
Public NotInheritable Class SecurityProfile |
The type exposes the following members.
Public Methods
Name | Description | |
---|---|---|
CheckLicense |
Checks the licenses.
|
|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetProfile |
Gets the SecurityProfile for the given IUserProfile
|
|
GetType | (Inherited from Object.) | |
Impersonate |
Impersonates the current thread as the user defined in this security profile.
|
|
ToString |
Returns a string representing this SecurityProfile (Overrides Object..::ToString()()()().) |
|
UndoImpersonation |
Undo the previous impersonation
|
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) |
Public Properties
Name | Description | |
---|---|---|
Account |
Gets the Account that belongs to this SecurityProfile.
|
|
Databases |
Gets a list of Database instances to which this SecurityProfile has access.
|
|
DefaultDatabase |
Gets the default database of the SecurityProfile
|
|
DefaultProfile |
Returns the default profile
|
|
Id |
Gets the Id of the SecurityProfile
|
|
UserRoles |
Returns the collection of userroles that belong to this profile.
|
|
Xml |
Gets a string containing the definition of this SecurityProfile.
|
See Also
Smartsite.Security Namespace