This function returns ID of the current granter.
object.CurrentGranterID()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
int
Display ID of the current granter.
Dim aCurrentGranterID
Dim aGranter
Dim aGranterName
aCurrentGranterID = Profile.CurrentGranterID
if aCurrentGranterID > 0 then
set aGranter = Profile.LoadProviderById(aCurrentGranterID)
aGranterName = aGranter.FullName
else
aGranterName = " - "
end if
Profile.MsgBox ("Current Granter: " & aGranterName)
In Profile Client v8 on User Interface Current Granter ID cannot be found, but Current Granter can be found in
.