Uses of Class
org.rococoa.cocoa.osservices.OSServicesLibrary.__CSIdentity

Packages that use OSServicesLibrary.__CSIdentity
org.rococoa.cocoa.osservices   
 

Uses of OSServicesLibrary.__CSIdentity in org.rococoa.cocoa.osservices
 

Methods in org.rococoa.cocoa.osservices that return OSServicesLibrary.__CSIdentity
 OSServicesLibrary.__CSIdentity OSServicesLibrary.CSIdentityCreateCopy(CoreFoundationLibrary.__CFAllocator allocator, OSServicesLibrary.__CSIdentity identity)
          CSIdentityCreateCopy()

Summary:
Creates a copy of an identity

Mac OS X threading:
Thread safe since version 10.5

Parameters:

allocator:
The allocator to use for the new identity.
 

Methods in org.rococoa.cocoa.osservices with parameters of type OSServicesLibrary.__CSIdentity
 void OSServicesLibrary.CSIdentityAddMember(OSServicesLibrary.__CSIdentity group, OSServicesLibrary.__CSIdentity member)
          CSIdentityAddMember()

Summary:
Add an identity to a group

Discussion:
This change to the group must be committed.
 boolean OSServicesLibrary.CSIdentityCommit(OSServicesLibrary.__CSIdentity identity, OSServicesLibrary.AuthorizationOpaqueRef authorization, ColorSyncLibrary.__CFError[] error)
          CSIdentityCommit()

Summary:
Synchronously commit all pending changes to the identity
authority database

Mac OS X threading:
Thread safe since version 10.5

Parameters:

identity:
The identity to commit

authorization:
The authorization object holding credentials necessary to allow
modification to the identity database.
 boolean OSServicesLibrary.CSIdentityCommit(OSServicesLibrary.__CSIdentity identity, OSServicesLibrary.AuthorizationOpaqueRef authorization, PointerByReference error)
          Deprecated. use the safer method OSServicesLibrary.CSIdentityCommit(org.rococoa.cocoa.osservices.OSServicesLibrary.__CSIdentity, org.rococoa.cocoa.osservices.OSServicesLibrary.AuthorizationOpaqueRef, org.rococoa.cocoa.colorsync.ColorSyncLibrary.__CFError[]) instead
 OSServicesLibrary.__CSIdentity OSServicesLibrary.CSIdentityCreateCopy(CoreFoundationLibrary.__CFAllocator allocator, OSServicesLibrary.__CSIdentity identity)
          CSIdentityCreateCopy()

Summary:
Creates a copy of an identity

Mac OS X threading:
Thread safe since version 10.5

Parameters:

allocator:
The allocator to use for the new identity.
 OSServicesLibrary.__CSIdentityQuery OSServicesLibrary.CSIdentityCreateGroupMembershipQuery(CoreFoundationLibrary.__CFAllocator allocator, OSServicesLibrary.__CSIdentity group)
          CSIdentityCreateGroupMembershipQuery()

Summary:
Creates a query to find a group's members

Discussion:
Using a query to lookup group membership allows the caller to
execute the query synchronously or asynchronously.
 void OSServicesLibrary.CSIdentityDelete(OSServicesLibrary.__CSIdentity identity)
          CSIdentityDelete()

Summary:
Permanently delete an identity from the identity database

Discussion:
Sets an identity to deleted state.
 HIServicesLibrary.__CFArray OSServicesLibrary.CSIdentityGetAliases(OSServicesLibrary.__CSIdentity identity)
          CSIdentityGetAliases()

Summary:
Retrieve the aliases of an identity.
 OSServicesLibrary.__CSIdentityAuthority OSServicesLibrary.CSIdentityGetAuthority(OSServicesLibrary.__CSIdentity identity)
          CSIdentityGetAuthority()

Summary:
Returns the identity authority of an identity

Mac OS X threading:
Thread safe since version 10.5

Parameters:

identity:
The identity object to access

Result:
A CSIdentityAuthorityRef object

Availability:
Mac OS X: in version 10.5 and later in CoreServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : CSIdentityAuthorityRef CSIdentityGetAuthority(CSIdentityRef)
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/CSIdentity.h:380
 OSServicesLibrary.OpaqueSecCertificateRef OSServicesLibrary.CSIdentityGetCertificate(OSServicesLibrary.__CSIdentity user)
          CSIdentityGetCertificate()

Summary:
Get a user's authentication certificate

Discussion:
The authentication certificate can be used in PKI-based protocols
to authenticate users.
 int OSServicesLibrary.CSIdentityGetClass(OSServicesLibrary.__CSIdentity identity)
           
 ColorSyncLibrary.__CFURL OSServicesLibrary.CSIdentityGetImageURL(OSServicesLibrary.__CSIdentity identity)
          CSIdentityGetImageURL()

Summary:
Retrieve the URL to an identity's image file

Mac OS X threading:
Thread safe since version 10.5

Parameters:

identity:
The identity to access

Result:
Returns a CFURLRef that contains the location of the user's image
file, or NULL if there is no image URL.
 int OSServicesLibrary.CSIdentityGetPosixID(OSServicesLibrary.__CSIdentity identity)
          CSIdentityGetPosixID()

Summary:
Retrieve POSIX ID of an identity.
 CoreFoundationLibrary.__CFUUID OSServicesLibrary.CSIdentityGetUUID(OSServicesLibrary.__CSIdentity identity)
          CSIdentityGetUUID()

Summary:
Returns an identity's UUID.
 boolean OSServicesLibrary.CSIdentityIsCommitting(OSServicesLibrary.__CSIdentity identity)
          CSIdentityIsCommitting()

Summary:
Determine if a commit operation is in progress

Mac OS X threading:
Thread safe since version 10.5

Parameters:

identity:
The identity to access

Result:
Returns true if a commit operation is in progress

Availability:
Mac OS X: in version 10.5 and later in CoreServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : Boolean CSIdentityIsCommitting(CSIdentityRef)
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/CSIdentity.h:1523
 boolean OSServicesLibrary.CSIdentityIsEnabled(OSServicesLibrary.__CSIdentity user)
          CSIdentityIsEnabled()

Summary:
Determine if a user is enabled

Discussion:
A user that is not enabled cannot authenticate.
 boolean OSServicesLibrary.CSIdentityIsHidden(OSServicesLibrary.__CSIdentity identity)
          CSIdentityIsHidden()

Summary:
Determine if a identity's hidden attribute is enabled

Mac OS X threading:
Thread safe since version 10.5

Parameters:

identity:
The identity object to access

Result:
Returns true if the identity was created with the hidden attribute

Availability:
Mac OS X: in version 10.5 and later in CoreServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : Boolean CSIdentityIsHidden(CSIdentityRef)
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/CSIdentity.h:712
 boolean OSServicesLibrary.CSIdentityIsMemberOfGroup(OSServicesLibrary.__CSIdentity identity, OSServicesLibrary.__CSIdentity group)
          CSIdentityIsMemberOfGroup()

Summary:
Check if an identity is a memeber of a group

Mac OS X threading:
Thread safe since version 10.5

Parameters:

identity:
The identity whose membership is in question

group:
The group identity whose membership is to be checked

Result:
Returns true if the identity is a member (directly or indirectly)
of the specified group

Availability:
Mac OS X: in version 10.5 and later in CoreServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : Boolean CSIdentityIsMemberOfGroup(CSIdentityRef, CSIdentityRef)
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/CSIdentity.h:683
 void OSServicesLibrary.CSIdentityRemoveClient(OSServicesLibrary.__CSIdentity identity)
          CSIdentityRemoveClient()

Summary:
Invalidate an identity's client structure to stop client callbacks

Discussion:
After returning, this function guarantees that client callbacks
will never be invoked again.
 void OSServicesLibrary.CSIdentityRemoveMember(OSServicesLibrary.__CSIdentity group, OSServicesLibrary.__CSIdentity member)
          CSIdentityRemoveMember()

Summary:
Remove a member from a group

Discussion:
This change to the group must be committed.
 void OSServicesLibrary.CSIdentitySetCertificate(OSServicesLibrary.__CSIdentity user, OSServicesLibrary.OpaqueSecCertificateRef certificate)
          CSIdentitySetCertificate()

Summary:
Set a user's authentication certificate

Discussion:
The subject name in the certificate will function as an alias for
the identity.
 void OSServicesLibrary.CSIdentitySetImageURL(OSServicesLibrary.__CSIdentity identity, ColorSyncLibrary.__CFURL url)
          CSIdentitySetImageURL()

Summary:
Set the URL of an identity's external image storage

Discussion:
This change must be committed.
 void OSServicesLibrary.CSIdentitySetIsEnabled(OSServicesLibrary.__CSIdentity user, boolean isEnabled)
          CSIdentitySetIsEnabled()

Summary:
Enable or disable a user

Discussion:
A disabled user account cannot authenticate.
 void OSServicesLibrary.CSIdentityStatusUpdatedCallback.invoke(OSServicesLibrary.__CSIdentity identity, NativeLong status, ColorSyncLibrary.__CFError error, Pointer info)
           
 



Copyright © 2009. All Rights Reserved.