adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / GetSecurityLogins Method / GetSecurityLogins(Boolean) Method
Determines whether permissions are returned with the entities


In This Topic
    GetSecurityLogins(Boolean) Method
    In This Topic
    Gets all security logins
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Overloads Function GetSecurityLogins( _
       Optional ByVal includePermissions As Boolean _
    ) As SecurityLoginCollection
    [NotNull()]
    public SecurityLoginCollection GetSecurityLogins( 
       bool includePermissions
    )
    [NotNull()]
    public:
    SecurityLoginCollection^ GetSecurityLogins( 
       bool includePermissions
    ) 

    Parameters

    includePermissions
    Determines whether permissions are returned with the entities

    Return Value

    All security logins
    Remarks

    The caller must have permission to administer security on the adTempus server.

    By default includePermissions is false and this method does not return the permissions associated with the entities (to save processing overhead). This is appropriate if you just want to display the names of the entities. If you subsequently need the permission for an entity, calling SecurityEntity.GetPermissions will fetch the permissions from the server.

    If you know in advance that you will want the permissions for all of the returned objects, it is more efficient to set includePermissions to true to return them all in a single call.

    See Also