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 imageCopy Code
                                  public sealed class SecurityProfile
Visual Basic (Declaration) Copy imageCopy Code
                                  Public NotInheritable Class SecurityProfile

The type exposes the following members.

Public Methods

  Name Description
Public method Static member CheckLicense
Checks the licenses.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method Static member GetProfile
Gets the SecurityProfile for the given IUserProfile
Public method GetType (Inherited from Object.)
Public method Impersonate
Impersonates the current thread as the user defined in this security profile.
Public method ToString
Returns a string representing this SecurityProfile
(Overrides Object..::ToString()()()().)
Public method UndoImpersonation
Undo the previous impersonation

Protected Methods

  Name Description
Protected method Finalize (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)

Public Properties

  Name Description
Public property Account
Gets the Account that belongs to this SecurityProfile.
Public property Databases
Gets a list of Database instances to which this SecurityProfile has access.
Public property DefaultDatabase
Gets the default database of the SecurityProfile
Public property Static member DefaultProfile
Returns the default profile
Public property Id
Gets the Id of the SecurityProfile
Public property UserRoles
Returns the collection of userroles that belong to this profile.
Public property Xml
Gets a string containing the definition of this SecurityProfile.

See Also

Advanced