Copy security class from one profile to another profile

 2 Replies
 0 Subscribed to this topic
 16 Subscribed to this forum
Sort:
Author
Messages
golfer24
New Member Send Private Message
Posts: 0
New Member
Is there a way to copy a security class defined in one profile over to a new profile without having to recreate the security class and all of its access?
Jimmy Chiu
Veteran Member Send Private Message
Posts: 641
Veteran Member
lsdump -f filename secClass sourceProfileID secClassName
lsload secClass filename -p targetProfileID -o


ie:
lsdump -f gluser.dmp secClass PROD gluser 
lsload secClass gluser.dmp -p TEST -o
golfer24
New Member Send Private Message
Posts: 0
New Member
Thanks Jimmy. I will give that a shot.