Identifying S-Sign Licensing
Use Apex to identify whether S-Sign seats are managed in-product or through Salesforce package licensing.
Option 1: Licensing managed inside S-Sign
Class and method
Apex example
List<Id> licensedUserIds = SSign.SSLicensesController.getSSignLicensedUsers();
List<User> licensedUsers = [
SELECT Id, Name, Email, IsActive
FROM User
WHERE Id IN :licensedUserIds
ORDER BY Name
];
System.debug('Total S-Sign licensed users: ' + licensedUsers.size());
for (User userRecord : licensedUsers) {
System.debug(
'Name: ' + userRecord.Name +
' | Id: ' + userRecord.Id +
' | Email: ' + userRecord.Email +
' | Active: ' + userRecord.IsActive
);
}What this check gives you
Option 2: Licensing managed through Salesforce
Salesforce objects to query
Apex example
What this check gives you
Which check should you use?
Common use case
Recommended approach for mixed-license orgs
Where to run these examples
Last updated
Was this helpful?

