IsDeferred: Boolean;
IsDeferred: boolean;
The IsDeferred property returns the attribute of the deferred loading of the description of the user.
If the property returns True, the user has the attribute of the deferred loading of the description. The description of such users is not loaded on logging in the repository, it enables reducing time for connection.
To add an attribute of deferred loading, users created from security manager should set the corresponding flag in the security policy - MetabasePolicy.CreateDeferredSubjects = True. Newly created users will automatically get the IsDeferred = True attribute.
Also, the users with the deferred loading of the description are created on working of the BI server, if the authorization using credentials of different social systems is used: Twitter, LinkedIn, Facebook, LiveJournal. Temporary users are created, which exist as separate records in the system table of the repository. Physical users of the DBMS are not created. For authorization under such users there must be the individual user of the repository which will be used for impersonation. It requires credentials saved on the BI server.
To get the description of the users with deferred loading use the IMetabaseSecurity.ResolveName, IMetabaseSecurity.ResolveSid methods or search via IMetabaseSecurity.NewSubjectsSearch. The IMetabaseSecurity.ActiveUsers method will also return the DBMS users who are repository users, for whom the attribute of deferred loading is set. After first getting of the description using the specified methods it will also be available in the IMetabaseSecurity.Users collection.
The example of use is given in description of the IMetabaseSecurity.ActiveUsers method.
See also: