adTempus API
ArcanaDevelopment.adTempus.Client Namespace / SecurityLogin Class
Members


In This Topic
    SecurityLogin Class
    In This Topic
    A security login represents a user authorized to log in to adTempus
    Object Model
    SecurityLogin ClassDataContext ClassOID ClassADTObject ClassSecurityRoleCollection ClassSecurityRole Class
    Syntax
    'Declaration
     
    
    Public NotInheritable Class SecurityLogin 
       Inherits SecurityEntity
    public sealed class SecurityLogin : SecurityEntity 
    public ref class SecurityLogin sealed : public SecurityEntity 
    Remarks

    A login generally represents an individual user, but it can be a "template" login used to automatically create new logins for users based on Windows security group membership.

    Individual Users

    Users can be authenticated using either integrated (automatic) Windows authentication, or adTempus-based authentication with a user ID and password. Both models can be used in the same adTempus instance.

    Windows Authentication

    To use Windows authentication to automatically authenticate users, set the LoginType to ArcanaDevelopment.adTempus.Shared.LoginType.WindowsUser. Set the WindowsSid to the SID of the user's Windows account (Scheduler.ResolveSecurityNames or Scheduler.ResolveSecurityName can be used to look up security accounts on the Windows server). The Name should be set to the user's user ID (including domain) but this is for display purposes only--adTempus uses the SID for identification and authentication.

    No password is set when using Windows authentication

    adTempus Authentication

    For adTempus authentication, the user ID and password are defined in adTempus and authentication is not managed by Windows. To use adTempus authentication set the LoginType to ArcanaDevelopment.adTempus.Shared.LoginType.adTempusUser. Set the Name to the name (user ID) the user will use to log in, and set a password for the user.

    Template Logins

    To create a template login set the LoginType to ArcanaDevelopment.adTempus.Shared.LoginType.WindowsGroup and set the WindowsSid to the SID of the Windows security group that will be used to perform authentication. When a user tries to connect to adTempus for the first time, adTempus checks to see if they belong to the specified Windows group. If so a new SecurityLogin is created automatically for the user with the LoginType set to LoginType.WindowsGroupMember. All permissions and role memberships from the template login are copied to the new login for the user.

    Inheritance Hierarchy

    System.Object
       ArcanaDevelopment.adTempus.Client.ObjectBase
          ArcanaDevelopment.adTempus.Client.ADTObject
             ArcanaDevelopment.adTempus.Client.ADTIndependentObject
                ArcanaDevelopment.adTempus.Client.SecurityEntity
                   ArcanaDevelopment.adTempus.Client.SecurityLogin

    See Also