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

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

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

Methods in org.rococoa.cocoa.osservices that return OSServicesLibrary.__CSIdentityQuery
 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.
 OSServicesLibrary.__CSIdentityQuery OSServicesLibrary.CSIdentityQueryCreate(CoreFoundationLibrary.__CFAllocator allocator, int identityClass, OSServicesLibrary.__CSIdentityAuthority authority)
          CSIdentityQueryCreate()

Summary:
Creates an identity query object for all identities in the
specified authority

Discussion:
The results of this query include all of the identities in the
specified authority's database.
 OSServicesLibrary.__CSIdentityQuery OSServicesLibrary.CSIdentityQueryCreateForCurrentUser(CoreFoundationLibrary.__CFAllocator allocator)
          CSIdentityQueryCreateForCurrentUser()

Summary:
Creates a query for the current session user's identity

Mac OS X threading:
Thread safe since version 10.5

Parameters:

allocator:
The allocator to use for this instance

Result:
A new CSIdentityQuery object

Availability:
Mac OS X: in version 10.5 and later in CoreServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : CSIdentityQueryRef CSIdentityQueryCreateForCurrentUser(CFAllocatorRef)
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h:335
 OSServicesLibrary.__CSIdentityQuery OSServicesLibrary.CSIdentityQueryCreateForPosixID(CoreFoundationLibrary.__CFAllocator allocator, int posixID, int identityClass, OSServicesLibrary.__CSIdentityAuthority authority)
          CSIdentityQueryCreateForPosixID()

Summary:
Creates an identity query object based on a POSIX ID

Discussion:
Finds an identity by its UID or GID

Mac OS X threading:
Thread safe since version 10.5

Parameters:

allocator:
The allocator to use for this instance

posixID:
The UID or GID of the identity to find

identityClass:
The class of identity to find

authority:
The identity authority to query

Result:
A new CSIdentityQuery object

Availability:
Mac OS X: in version 10.5 and later in CoreServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : CSIdentityQueryRef CSIdentityQueryCreateForPosixID(CFAllocatorRef, id_t, CSIdentityClass, CSIdentityAuthorityRef)
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h:267
 OSServicesLibrary.__CSIdentityQuery OSServicesLibrary.CSIdentityQueryCreateForUUID(CoreFoundationLibrary.__CFAllocator allocator, CoreFoundationLibrary.__CFUUID uuid, OSServicesLibrary.__CSIdentityAuthority authority)
          CSIdentityQueryCreateForUUID()

Summary:
Creates an identity query object based on a UUID

Discussion:
Finds an identity by its UUID

Mac OS X threading:
Thread safe since version 10.5

Parameters:

allocator:
The allocator to use for this instance

uuid:
The UUID of the identity to find

authority:
The identity authority to query

Result:
A new CSIdentityQuery object

Availability:
Mac OS X: in version 10.5 and later in CoreServices.framework
CarbonLib: not available
Non-Carbon CFM: not available
Original signature : CSIdentityQueryRef CSIdentityQueryCreateForUUID(CFAllocatorRef, CFUUIDRef, CSIdentityAuthorityRef)
native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/CSIdentityQuery.h:225
 

Methods in org.rococoa.cocoa.osservices with parameters of type OSServicesLibrary.__CSIdentityQuery
 HIServicesLibrary.__CFArray OSServicesLibrary.CSIdentityQueryCopyResults(OSServicesLibrary.__CSIdentityQuery query)
          CSIdentityQueryCopyResults()

Summary:
Retrieve the results of executing an identity query

Discussion:
Returns an immutable array of CSIdentityRefs, reflecting the
current results of the query's execution.
 boolean OSServicesLibrary.CSIdentityQueryExecute(OSServicesLibrary.__CSIdentityQuery query, NativeLong flags, ColorSyncLibrary.__CFError[] error)
          CSIdentityQueryExecute()

Summary:
Execute an identity query synchronously

Mac OS X threading:
Thread safe since version 10.5

Parameters:

query:
The query object to execute

flags:
Execution options

error:
Optional pointer to a CFError object which must be released by
the caller if CSIdentityQueryExecute returns false

Result:
Returns true if the query executed successfully, false if an
error occurred.
 boolean OSServicesLibrary.CSIdentityQueryExecute(OSServicesLibrary.__CSIdentityQuery query, NativeLong flags, PointerByReference error)
          Deprecated. use the safer method OSServicesLibrary.CSIdentityQueryExecute(org.rococoa.cocoa.osservices.OSServicesLibrary.__CSIdentityQuery, com.sun.jna.NativeLong, org.rococoa.cocoa.colorsync.ColorSyncLibrary.__CFError[]) instead
 void OSServicesLibrary.CSIdentityQueryStop(OSServicesLibrary.__CSIdentityQuery query)
          CSIdentityQueryStop()

Summary:
Invalidate an identity query client

Discussion:
Invalidate a query client so that its callback will never be
called in the future.
 void OSServicesLibrary.CSIdentityQueryReceiveEventCallback.invoke(OSServicesLibrary.__CSIdentityQuery query, NativeLong event, HIServicesLibrary.__CFArray identities, ColorSyncLibrary.__CFError error, Pointer info)
           
 



Copyright © 2009. All Rights Reserved.